package day03._02;

/**
 * <>
 * <代码块，构造器执行顺序>
 *
 * @Author WANG.SONG.
 * @Date 2019/2/25 0025 23:08
 * @see
 */
public class Son extends Parent{

    /**第三方类**/
    Dog dog=new Dog("DH");

    static {
        System.out.println("Son static");
    }

    public Son(){
        System.out.println("Son 构造器");
    }

    public Son(String a){
        System.out.println("Son 有参构造器"+a);
    }

    public static void main(String[] args) {
        new Son("a");
    }
}
